<table border="1">
  <tr>
    <th>{{date}}工资账单明细</th>
  </tr>
  <tr>
      {% for header in headers %}
      <th>
        {{ header }}
      </th>
      {% endfor %}
    </tr>
  
  <tr>
    {% for content in contents %}
    <th>
      {{ content }}
    </th>
    {% endfor %}
  </tr>

</table>